import React from 'react';
import { connect } from 'dva';
import NodeLogPanel from './NodeLogPanel';
import NodeLogTable from './NodeLogTable';


@connect((state) => {
  return { ...state.nodeLog, loading: state.loadingBar === 1 };
})
export default class NodeLog extends React.Component {

  render = () => {
    return (
      <div>
        <NodeLogPanel />
        <NodeLogTable />
      </div>
    );
  }
}
